<!DOCTYPE HTML><html>
<head>
<? echo $h->meta($title, $kwd, $dpn); ?>
<? require_once("lib.php"); ?>
<script src="<?=$ecom?>/js/jquery.validate.js" type="text/javascript"></script>
<script src="<?=$ecom?>/js/jquery.metadata.js" type="text/javascript"></script>

</head>
<body id="">
<? include_once("header.php"); ?>
<div id="wrap">
	<div class="breadcrumb">
		<a href="./"><?=WEB_INDEX_PAGE?></a> &gt; <a href="member.html"><?=WEB_MEMBER_CENTER?></a> &gt; <span><?=$cate_name?></span>
	</div><!--breadcrumb end-->
	<div id="" class="w180 left">
		<? require 'member_menu.php' ?>
	</div><!--. w220-->
	<div id="" class="right w760">
		<div class="wish">
			<ul class="wlist_fs">
				<?
					$str='';
					foreach ($info as $row){
						$val=$arr_product[$row['product_id']];
						$tem_link=seo_url($val['name_'.$lang]).'-p-'.$val['id'].'.html';
						$tem_pic=PRODUCT_PIC_HOST.$val['small_pic'];
						$tem_name=str_cut($val['name_'.$lang],PRODUCT_TITLE_DISPLAY_LENGTH,$lang);
						$tem_price=round($val['price']*$currency_rate,2);
						$str.='<li class="wlist_li delete'.$row['id'].'">
					<div class="wlist_f">
						<div class="wlist_pro">
							<div class="del hand" onclick="ajax_delete(\'wishlist\',\''.$row['id'].'\')"></div>
							<div class="image"><a href="'.$tem_link.'"><img src="'.$tem_pic.'" width="120" /></a></div>
							<div class="pname"><a href="'.$tem_link.'">'.$tem_name.'</a></div>
							<div class="price"><span><span>'.$currency_sign.'</span>'.$tem_price.'</span></div>
						</div>
					</div>
				</li>';
					}
					echo $str;
				?>
			</ul>
			<div class="clear"></div>
			<? echo echo_page($page, $pages, $url.'-p',$lang_id); ?>
		</div>
	</div><!--right-->
	<div class="clear"></div>
</div>
<? include("footer.php"); ?>
<script type="text/javascript">
  $(document).ready(function(){
  	$(".need_check").validate({meta: "validate", onkeyup: false, 
		errorPlacement: function( label, element ) {
			element.parent().append("<br>").append(label);
		}
	
	});
});
</script>
</body>
</html>